<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/sys/include.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>"/>
<title></title>
<link href="css/global.css" type="text/css" rel="stylesheet"/>
<script src="js/jquery-1.5.1.min.js" type="text/javascript"></script>
<%--
<script src="js/popw.js" type="text/javascript"></script>
 --%>
<link rel="stylesheet" type="text/css" href="css/easydialog.css" />
	<script src="js/easydialog.min.js" type="text/javascript"></script>
	
<style type="text/css">
<!--
body{
	background-color:#ffffff;
	margin:0px; padding:0px;
}
#pageStyle{
	text-align: center;
	margin-top: 4px;
}
#control{
	margin:5px;
	padding:5Px;
	text-align: center;
}
img{
	border: 0px;
}

-->
</style>
<script language="javascript">

</script>
</head>
	<body>
	<div id="main">

	<div id="part1" class="part">
		<p class="title"><a href="javascript:void(0);">用户查询</a></p>
	<%--
		<input type="button" value="showdata" onclick="javascript:alert(document.getElementById('table').innerHTML)"/>
	 --%>
		
		<div class="content">
			
			
			
			<table id="table" class="datatable" summary="list of members in EE Studay">
				<tr id="tr_00">
					<th scope="col">名称</th>
					<th scope="col">地址</th>
					<th scope="col">描述</th>
					<%--
					<th scope="col">序号</th>
					 --%>
					
					
				</tr>
				
				<c:forEach items="${showMenus}" var="data">
				<tr id="tr_${data.id}" parentId="${data.parentID}">
				<td>${data.name}</td>
				<td>${data.url}</td>
				<td>${data.description}</td>
				<%--
				<td>${data.orderNum}</td>
				 --%>
				
				</tr>
				
				</c:forEach>
				
			</table>
			
			

		</div>
		
		<div id="control">
		<a href="javascript:history.go(-1);">《返回</a>
		</div>
		
	</div>
</div>
<script language="javascript">
$(function(){
     $("#table1").find("tr").hover(
	     function(){
	        $(this).addClass("altrow");    //鼠标经过添加hover样式
	     },
	     function(){
	        $(this).removeClass("altrow");   //鼠标离开移除hover样式
	     }
     );
});


</script>

	</body>
</html>

